package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.DamageList;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * ClassName: DamageService
 * Package: com.atguigu.jxc.service
 *
 * @Description:
 * @Author: xvyy
 * @Create: 2025/2/21 - 21:55
 * @Version: v1.0
 */
public interface DamageService {

    /**
     * 保存报损单
     *
     * @param damageList
     * @param damageListGoodsStr
     * @param session
     * @return
     */
    ServiceVO save(DamageList damageList, String damageListGoodsStr, HttpSession session);

    /**
     * 查询报损单
     * @param sTime
     * @param eTime
     * @return
     */
    Map<String,Object> list(String sTime, String eTime);

    /**
     * 查询报损单详情
     * @param damageListId
     * @return
     */
    Map<String, Object> goodsList(Integer damageListId);
}
